const { BrowserWindow } = require("electron")

class appWindow extends BrowserWindow{
  constructor(config){
    config = {
      ...{
        width:600,
        height:800,
        webPreferences:{
          nodeIntegration:true,
        },
        show: false,
        backgroundColor: '#efefef',
      },
      ...config
    }
    super(config)
  }
}

module.exports = {
  appWindow,
}
